#ifndef _EFFECT_H_
#define _EFFECT_H_

#include "actor.hpp"

class Effect : public Actor
{
public:
	static const int COUNT = 64;

	enum TypeN
	{
		EN_HIT,
		EN_KILLED,

		ITM_POINT_S,
		ITM_POINT_M,
		ITM_POINT_L,
		ITM_POINT_XL,
		ITM_POINT_XXL,
		ITM_POINT_XXXL,

		TYPECT
	};

	static bool Open();
	void Close();

	void Init(float x, float y, Cue & cue);
	void Update();

private:
	int typen;
};

extern ActPool<Effect, Effect::COUNT> Efx;

#endif
